package org.notepad.persistence;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;

public class RecordListDBHelper {
	public static final String DATABASE_NAME = "timeRecord.db";
	public static final String TIMERECORDS_COLUMN_ID = "id";
	public static final String TIMERECORDS_COLUMN_TIME = "time";
	public static final String TIMERECORDS_COLUMN_NOTE = "note";
	public static final int DATABASE_VERSION = 2;
	private TimeRecordOpenHelper openHelper;
	private SQLiteDatabase db;
	
	public RecordListDBHelper(Context context){
		openHelper = new TimeRecordOpenHelper(context);
		db = openHelper.getWritableDatabase();
	}
}
